package com.ken.mall.comm;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class RequestHolder {

    private static final ThreadLocal<String> testThreadLocal = new ThreadLocal<>();

    public static void set(String string){
        testThreadLocal.set(string);
    }

    public static String get(){
        return testThreadLocal.get();
    }

    public static void remove() {
        testThreadLocal.remove();
    }
}
